package main

func init() {
	//setting.Setup()
	//logging.Setup()
	//models.Setup()
}

func main() {
	//gin.SetMode(setting.ServerSetting.RunMode)
	//
	//routersInit := routers.InitRouter()
	//readTimeout := setting.ServerSetting.ReadTimeout
	//writeTimeout := setting.ServerSetting.WriteTimeout
	//endPoint := fmt.Sprintf(":%d", setting.ServerSetting.HttpPort)
	//
	//maxHeaderBytes := 1 << 20
	//
	//server := &http.Server{
	//	Addr:           endPoint,
	//	Handler:        routersInit,
	//	ReadTimeout:    readTimeout,
	//	WriteTimeout:   writeTimeout,
	//	MaxHeaderBytes: maxHeaderBytes,
	//}
	//
	//logging.ZapLogger.Info("http server listening at ", endPoint)
	//_ = server.ListenAndServe()

}
